package com.anpy.bill.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @Author : anpengyu
 * @create 2024/8/11 17:04
 */
@Data
@Entity
public class MerchantEntity {

    private String name;
    @JsonProperty("TableField")
    private Long userId;

    @Id
    private Long id;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
}
